//
//  SortDetailHelper.m
//  QuicklyPlay
//
//  Created by 你的温柔是我唯一沉溺 on 15/11/3.
//  Copyright © 2015年 OPteam. All rights reserved.
//

#import "SortDetailHelper.h"

static SortDetailHelper *sortDH;

@implementation SortDetailHelper


+(SortDetailHelper *)sharedInstance {
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        sortDH = [[SortDetailHelper alloc] init];
    });
    return sortDH;
}

 
-(NSString *)refreshAndDownloadNewDataWithAID:(NSString *)aid WithPages:(NSString *)page {
    
    //影帝三分半
    if ([aid isEqualToString:@"49"] && [page isEqualToString:@"1"]) {
            return aID49Page1;
    } else if ([aid isEqualToString:@"49"] && [page isEqualToString:@"2"]) {
            return aID49Page2;
    } else if ([aid isEqualToString:@"49"] && [page isEqualToString:@"3"]) {
            return aID49Page3;
    } else if ([aid isEqualToString:@"49"] && [page isEqualToString:@"4"]) {
            return aID49Page4;
    } else  if ([aid isEqualToString:@"49"] && [page isEqualToString:@"5"]) {
            return aID49Page5;
    }
    
    //欢乐喜剧人
   else if ([aid isEqualToString:@"40"] && [page isEqualToString:@"1"]) {
       return aID40Page1;
    }
    
    //屌丝男士
   else if ([aid isEqualToString:@"42"] && [page isEqualToString:@"1"]) {
            return aID42Page1;
    }
    
    //轻松时刻
    else if ([aid isEqualToString:@"4"] && [page isEqualToString:@"1"]) {
            return aID4Page1;
    } else if ([aid isEqualToString:@"4"] && [page isEqualToString:@"2"]) {
            return aID4Page2;
    } else if ([aid isEqualToString:@"4"] && [page isEqualToString:@"3"]) {
            return aID4Page3;
    } else  if ([aid isEqualToString:@"4"] && [page isEqualToString:@"4"]) {
            return aID4Page4;
    } else if ([aid isEqualToString:@"4"] && [page isEqualToString:@"5"]) {
            return aID4Page5;
    } else if ([aid isEqualToString:@"4"] && [page isEqualToString:@"6"]) {
            return aID4Page6;
    } else  if ([aid isEqualToString:@"4"] && [page isEqualToString:@"7"]) {
            return aID4Page7;
    }
 
    //学校里的疯子
   else if ([aid isEqualToString:@"35"] && [page isEqualToString:@"1"]) {
            return aID35Page1;
    } else if ([aid isEqualToString:@"35"] && [page isEqualToString:@"2"]) {
            return aID35Page2;
    } else if ([aid isEqualToString:@"35"] && [page isEqualToString:@"3"]) {
            return aID35Page3;
        }
    
    //唐僧神吐槽
   else if ([aid isEqualToString:@"12"] && [page isEqualToString:@"1"]) {
            return aID12Page1;
    }
    else if ([aid isEqualToString:@"12"] && [page isEqualToString:@"2"]) {
            return aID12Page2;
    }
    else if ([aid isEqualToString:@"12"] && [page isEqualToString:@"3"]) {
            return aID12Page3;
    }
    else if ([aid isEqualToString:@"12"] && [page isEqualToString:@"4"]) {
            return aID12Page4;
    }
    
    
    //原创精选
    else if ([aid isEqualToString:@"16"] && [page isEqualToString:@"1"]) {
            return aID16Page1;
    }
    else if ([aid isEqualToString:@"16"] && [page isEqualToString:@"2"]) {
            return aID16Page2;
    }
    else if ([aid isEqualToString:@"16"] && [page isEqualToString:@"3"]) {
            return aID16Page3;
    }
    else if ([aid isEqualToString:@"16"] && [page isEqualToString:@"4"]) {
            return aID16Page4;
    }
    else if ([aid isEqualToString:@"16"] && [page isEqualToString:@"5"]) {
            return aID16Page5;
    }
    else if ([aid isEqualToString:@"16"] && [page isEqualToString:@"6"]) {
            return aID16Page6;
    }
    else if ([aid isEqualToString:@"16"] && [page isEqualToString:@"7"]) {
            return aID16Page7;
    }
    
    //囧闻一箩筐
    else if ([aid isEqualToString:@"23"] && [page isEqualToString:@"1"]) {
            return aID23Page1;
    }
    else if ([aid isEqualToString:@"23"] && [page isEqualToString:@"2"]) {
            return aID23Page2;
    }
    else if ([aid isEqualToString:@"23"] && [page isEqualToString:@"3"]) {
            return aID23Page3;
    }
    else if ([aid isEqualToString:@"23"] && [page isEqualToString:@"4"]) {
            return aID23Page4;
    }
    else if ([aid isEqualToString:@"23"] && [page isEqualToString:@"5"]) {
            return aID23Page5;
    }
    else if ([aid isEqualToString:@"23"] && [page isEqualToString:@"6"]) {
            return aID23Page6;
    }
    else if ([aid isEqualToString:@"23"] && [page isEqualToString:@"7"]) {
            return aID23Page7;
    }
    else if ([aid isEqualToString:@"23"] && [page isEqualToString:@"8"]) {
            return aID23Page8;
    }
    else if ([aid isEqualToString:@"23"] && [page isEqualToString:@"9"]) {
            return aID23Page9;
    }
    else if ([aid isEqualToString:@"23"] && [page isEqualToString:@"10"]) {
            return aID23Page10;
    }
    else if ([aid isEqualToString:@"23"] && [page isEqualToString:@"11"]) {
            return aID23Page11;
    }
    //每日一囧
    else if ([aid isEqualToString:@"7"] && [page isEqualToString:@"1"]) {
            return aID7Page1;
    }
    else if ([aid isEqualToString:@"7"] && [page isEqualToString:@"2"]) {
            return aID7Page2;
    }
    else if ([aid isEqualToString:@"7"] && [page isEqualToString:@"3"]) {
            return aID7Page3;
    }
    else if ([aid isEqualToString:@"7"] && [page isEqualToString:@"4"]) {
            return aID7Page4;
    }
    else if ([aid isEqualToString:@"7"] && [page isEqualToString:@"5"]) {
            return aID7Page5;
    }
    else if ([aid isEqualToString:@"7"] && [page isEqualToString:@"6"]) {
            return aID7Page6;
    }
    else if ([aid isEqualToString:@"7"] && [page isEqualToString:@"7"]) {
            return aID7Page7;
    }
    else if ([aid isEqualToString:@"7"] && [page isEqualToString:@"8"]) {
           return aID7Page8;
    }
    else if ([aid isEqualToString:@"7"] && [page isEqualToString:@"9"]) {
            return aID7Page9;
    }
    else if ([aid isEqualToString:@"7"] && [page isEqualToString:@"10"]) {
            return aID7Page10;
    }
    else if ([aid isEqualToString:@"7"] && [page isEqualToString:@"11"]) {
            return aID7Page11;
    }
    else if ([aid isEqualToString:@"7"] && [page isEqualToString:@"12"]) {
            return aID7Page12;
    }
    else if ([aid isEqualToString:@"7"] && [page isEqualToString:@"14"]) {
            return aID7Page13;
    }
    else if ([aid isEqualToString:@"7"] && [page isEqualToString:@"14"]) {
            return aID7Page14;
    }
    else if ([aid isEqualToString:@"7"] && [page isEqualToString:@"15"]) {
            return aID7Page15;
    }
    else if ([aid isEqualToString:@"7"] && [page isEqualToString:@"16"]) {
            return aID7Page16;
    }
    else if ([aid isEqualToString:@"7"] && [page isEqualToString:@"17"]) {
            return aID7Page17;
    }
    else if ([aid isEqualToString:@"7"] && [page isEqualToString:@"18"]) {
            return aID7Page18;
    }
    else if ([aid isEqualToString:@"7"] && [page isEqualToString:@"19"]) {
            return aID7Page19;
    }

    
    //春晚小品大全
   else if ([aid isEqualToString:@"30"] && [page isEqualToString:@"1"]) {
            return aID30Page1;
        }
    else if ([aid isEqualToString:@"30"] && [page isEqualToString:@"2"]) {
            return aID30Page2;
        }
    else if ([aid isEqualToString:@"30"] && [page isEqualToString:@"3"]) {
            return aID30Page3;
        }
    else if ([aid isEqualToString:@"30"] && [page isEqualToString:@"4"]) {
            return aID30Page4;
        }
    else if ([aid isEqualToString:@"30"] && [page isEqualToString:@"5"]) {
            return aID30Page5;
        }

    
    //麦兜找穿帮
    else if ([aid isEqualToString:@"10"] && [page isEqualToString:@"1"]) {
            return aID10Page1;
        }
    else if ([aid isEqualToString:@"10"] && [page isEqualToString:@"2"]) {
            return aID10Page2;
        }
    else if ([aid isEqualToString:@"10"] && [page isEqualToString:@"3"]) {
            return aID10Page3;
        }
    else if ([aid isEqualToString:@"10"] && [page isEqualToString:@"4"]) {
            return aID10Page4;
        }
    else if ([aid isEqualToString:@"10"] && [page isEqualToString:@"5"]) {
            return aID10Page5;
        }
    
    
    //暴走大事件
   else if ([aid isEqualToString:@"20"] && [page isEqualToString:@"1"]) {
            return aID20Page1;
        }
   else if ([aid isEqualToString:@"20"] && [page isEqualToString:@"2"]) {
            return aID20Page2;
        }
   else if ([aid isEqualToString:@"20"] && [page isEqualToString:@"3"]) {
            return aID20Page3;
        }
   else if ([aid isEqualToString:@"20"] && [page isEqualToString:@"4"]) {
            return aID20Page4;
        }

    
    //每日一暴
    
    else if ([aid isEqualToString:@"19"] && [page isEqualToString:@"1"]) {
            return aID19Page1;
        }
    else if ([aid isEqualToString:@"19"] && [page isEqualToString:@"2"]) {
            return aID19Page2;
        }
    else if ([aid isEqualToString:@"19"] && [page isEqualToString:@"3"]) {
            return aID19Page3;
        }
    else if ([aid isEqualToString:@"19"] && [page isEqualToString:@"4"]) {
            return aID19Page4;
        }
    else if ([aid isEqualToString:@"19"] && [page isEqualToString:@"5"]) {
            return aID19Page5;
        }
    else if ([aid isEqualToString:@"19"] && [page isEqualToString:@"6"]) {
            return aID19Page6;
        }
    else if ([aid isEqualToString:@"19"] && [page isEqualToString:@"7"]) {
            return aID19Page7;
        }
    else if ([aid isEqualToString:@"19"] && [page isEqualToString:@"8"]) {
            return aID19Page8;
        }
    else if ([aid isEqualToString:@"19"] && [page isEqualToString:@"9"]) {
            return aID19Page9;
        }
    else if ([aid isEqualToString:@"19"] && [page isEqualToString:@"10"]) {
            return aID19Page10;
        }
    else if ([aid isEqualToString:@"19"] && [page isEqualToString:@"11"]) {
            return aID19Page11;
        }
    else if ([aid isEqualToString:@"19"] && [page isEqualToString:@"12"]) {
            return aID19Page12;
        }
    else if ([aid isEqualToString:@"19"] && [page isEqualToString:@"14"]) {
            return aID19Page13;
        }
    else if ([aid isEqualToString:@"19"] && [page isEqualToString:@"14"]) {
           return aID19Page14;
        }
    else if ([aid isEqualToString:@"19"] && [page isEqualToString:@"15"]) {
            return aID19Page15;
        }
    else if ([aid isEqualToString:@"19"] && [page isEqualToString:@"16"]) {
            return aID19Page16;
        }
    else if ([aid isEqualToString:@"19"] && [page isEqualToString:@"17"]) {
            return aID19Page17;
        }
    else if ([aid isEqualToString:@"19"] && [page isEqualToString:@"18"]) {
            return aID19Page18;
        }
 
    
    //怪话街坊秀
    else if ([aid isEqualToString:@"34"] && [page isEqualToString:@"1"]) {
            return aID34Page1;
        }
    else if ([aid isEqualToString:@"34"] && [page isEqualToString:@"2"]) {
            return aID34Page2;
        }
    
    //唐唐脱口秀
    else if ([aid isEqualToString:@"21"] && [page isEqualToString:@"1"]) {
            return aID21Page1;
        }
    else  if ([aid isEqualToString:@"21"] && [page isEqualToString:@"2"]) {
            return aID21Page2;
        }
    else  if ([aid isEqualToString:@"21"] && [page isEqualToString:@"3"]) {
            return aID21Page3;
        }
    else if ([aid isEqualToString:@"21"] && [page isEqualToString:@"4"]) {
            return aID21Page4;
        }
    
    //土豆神街坊
    else if ([aid isEqualToString:@"38"] && [page isEqualToString:@"1"]) {
            return aID38Page1;
        }
    else if ([aid isEqualToString:@"38"] && [page isEqualToString:@"2"]) {
            return aID38Page2;
        }

    //青年电影馆
    else if ([aid isEqualToString:@"37"] && [page isEqualToString:@"1"]) {
            return aID37Page1;
        }
    else if ([aid isEqualToString:@"37"] && [page isEqualToString:@"2"]) {
            return aID37Page2;
        }
    
    //民间牛人
     else if ([aid isEqualToString:@"39"] && [page isEqualToString:@"1"]) {
            return aID39Page1;
        }
     else if ([aid isEqualToString:@"39"] && [page isEqualToString:@"2"]) {
            return aID39Page2;
        }
    
    //极品街坊秀
    else if ([aid isEqualToString:@"36"] && [page isEqualToString:@"1"]) {
            return aID36Page1;
        }
    else if ([aid isEqualToString:@"36"] && [page isEqualToString:@"2"]) {
            return aID36Page2;
        }
    
    //十万个冷笑话
    else if ([aid isEqualToString:@"25"] && [page isEqualToString:@"1"]) {
            return aID25Page1;
        }

    //万万没想到第二季
    else if ([aid isEqualToString:@"1"] && [page isEqualToString:@"1"]) {
            return aID1Page1;
        }

    //谷阿莫说故事
    else if ([aid isEqualToString:@"43"] && [page isEqualToString:@"1"]) {
            return aID43Page1;
        }
    else if ([aid isEqualToString:@"43"] && [page isEqualToString:@"2"]) {
            return aID43Page2;
        }
    else if ([aid isEqualToString:@"43"] && [page isEqualToString:@"3"]) {
            return aID43Page3;
        }
    
    //娱乐猛回头
    else if ([aid isEqualToString:@"18"] && [page isEqualToString:@"1"]) {
            return aID18Page1;
        }
    else if ([aid isEqualToString:@"18"] && [page isEqualToString:@"2"]) {
            return aID18Page2;
        }
    else if ([aid isEqualToString:@"18"] && [page isEqualToString:@"3"]) {
            return aID18Page3;
        }
    else if ([aid isEqualToString:@"18"] && [page isEqualToString:@"4"]) {
            return aID18Page4;
        }
    else if ([aid isEqualToString:@"18"] && [page isEqualToString:@"5"]) {
            return aID18Page5;
        }
    
    //妹子说热剧
    else if ([aid isEqualToString:@"9"] && [page isEqualToString:@"1"]) {
            return aID9Page1;
        }
    else if ([aid isEqualToString:@"9"] && [page isEqualToString:@"2"]) {
            return aID9Page2;
        }

    
    //胥渡吧
    else if ([aid isEqualToString:@"8"] && [page isEqualToString:@"1"]) {
            return aID8Page1;
        }
    else if ([aid isEqualToString:@"8"] && [page isEqualToString:@"2"]) {
            return aID8Page2;
        }
    
    //90后接头采访
    else if ([aid isEqualToString:@"29"] && [page isEqualToString:@"1"]) {
            return aID29Page1;
        }
    else if ([aid isEqualToString:@"29"] && [page isEqualToString:@"2"]) {
            return aID29Page2;
        }

    
    //好奇实验室
    else if ([aid isEqualToString:@"28"] && [page isEqualToString:@"1"]) {
            return aID28Page1;
        }
    else if ([aid isEqualToString:@"28"] && [page isEqualToString:@"2"]) {
            return aID28Page2;
        }
    else if ([aid isEqualToString:@"28"] && [page isEqualToString:@"3"]) {
            return aID28Page3;
        }
    else if ([aid isEqualToString:@"28"] && [page isEqualToString:@"4"]) {
            return aID28Page4;
        }
    else if ([aid isEqualToString:@"28"] && [page isEqualToString:@"5"]) {
            return aID28Page5;
        }
    
    //飞碟说
    else if ([aid isEqualToString:@"2"] && [page isEqualToString:@"1"]) {
            return aID2Page1;
        }
    else  if ([aid isEqualToString:@"2"] && [page isEqualToString:@"2"]) {
            return aID2Page2;
        }
    else if ([aid isEqualToString:@"2"] && [page isEqualToString:@"3"]) {
            return aID2Page3;
        }
    else if ([aid isEqualToString:@"2"] && [page isEqualToString:@"4"]) {
            return aID2Page4;
        }
    else if ([aid isEqualToString:@"2"] && [page isEqualToString:@"5"]) {
            return aID2Page5;
        }
    else if ([aid isEqualToString:@"2"] && [page isEqualToString:@"6"]) {
            return aID2Page6;
        }
    
    //杨英鹏YP脱口秀
    else if ([aid isEqualToString:@"5"] && [page isEqualToString:@"1"]) {
            return aID5Page1;
        }
    else if ([aid isEqualToString:@"5"] && [page isEqualToString:@"2"]) {
            return aID5Page2;
        }

    
    //老美你怎么看
    else if ([aid isEqualToString:@"26"] && [page isEqualToString:@"1"]) {
            return aID26Page1;
        }
    else if ([aid isEqualToString:@"26"] && [page isEqualToString:@"2"]) {
            return aID26Page2;
        }
    
    //编辑部的故事
    else if ([aid isEqualToString:@"14"] && [page isEqualToString:@"1"]) {
            return aID14Page1;
        }
    else  if ([aid isEqualToString:@"14"] && [page isEqualToString:@"2"]) {
            return aID14Page2;
        }
    else  if ([aid isEqualToString:@"14"] && [page isEqualToString:@"3"]) {
            return aID14Page3;
        }
    else if ([aid isEqualToString:@"14"] && [page isEqualToString:@"4"]) {
            return aID14Page4;
        }
    
    //音乐下午茶
    else if ([aid isEqualToString:@"3"] && [page isEqualToString:@"1"]) {
            return aID3Page1;
        }
    else if ([aid isEqualToString:@"3"] && [page isEqualToString:@"2"]) {
            return aID3Page2;
        }
    else if ([aid isEqualToString:@"3"] && [page isEqualToString:@"3"]) {
            return aID3Page3;
        }
    else if ([aid isEqualToString:@"3"] && [page isEqualToString:@"4"]) {
            return aID3Page4;
        }
    else if ([aid isEqualToString:@"3"] && [page isEqualToString:@"5"]) {
            return aID3Page5;
        }
    else if ([aid isEqualToString:@"3"] && [page isEqualToString:@"6"]) {
            return aID3Page6;
        }
    else if ([aid isEqualToString:@"3"] && [page isEqualToString:@"7"]) {
            return aID3Page7;
        }
    else if ([aid isEqualToString:@"3"] && [page isEqualToString:@"8"]) {
            return aID3Page8;
        }
    
    //Youtube
    else if ([aid isEqualToString:@"6"] && [page isEqualToString:@"1"]) {
            return aID6Page1;
        }
    else  if ([aid isEqualToString:@"6"] && [page isEqualToString:@"2"]) {
            return aID6Page2;
        }
    else if ([aid isEqualToString:@"6"] && [page isEqualToString:@"3"]) {
            return aID6Page3;
        }
    else if ([aid isEqualToString:@"6"] && [page isEqualToString:@"4"]) {
            return aID6Page4;
        }
    else if ([aid isEqualToString:@"6"] && [page isEqualToString:@"5"]) {
            return aID6Page5;
        }
    else {
        return @"没有了哦?";
    }
    
}











































@end
